LT_FormManagement 
Case of 
: (Form event=On Load)

C_TEXT(LT_vCallFrom)
C_LONGINT(LT_Fltr_LogDocID;LT_HighlightCount)
C_TIME(LT_Fltr_FromTime;LT_Fltr_ToTime)
C_DATE(LT_Fltr_FromDate;LT_Fltr_ToDate)
C_TEXT(LT_Fltr_RecNum;LT_Fltr_ProcessNo)
C_TEXT(LT_Fltr_Size)

C_LONGINT(LT_Fltr_CancelTran_i;LT_Fltr_ValidTran_i;LT_Fltr_IncompleteTran_i;LT_Fltr_NotInTran_i)
C_LONGINT(LT_Fltr_CancelTranCB;LT_Fltr_ValidTranCB;LT_Fltr_IncompleteTranCB;LT_Fltr_NotInTranCB;LT_cbRealTimeFilter)

C_TEXT(LT_Fltr_LogItemNum_From;LT_Fltr_LogItemNum_To)

LT_Fltr_CancelTranCB:=LT_Fltr_CancelTran_i
LT_Fltr_ValidTranCB:=LT_Fltr_ValidTran_i
LT_Fltr_IncompleteTranCB:=LT_Fltr_IncompleteTran_i
LT_Fltr_NotInTranCB:=LT_Fltr_NotInTran_i

C_TEXT(LT_Fltr_PrmKeys_t)
If (<>V14LogsOpenOnly_b)
OBJECT SET VISIBLE(LT_Fltr_NotInTranCB;False)
OBJECT SET VISIBLE(LT_Fltr_ValidTranCB;False)
OBJECT SET VISIBLE(LT_Fltr_CancelTranCB;False)
OBJECT SET VISIBLE(LT_Fltr_IncompleteTranCB;False)

Else 
OBJECT SET VISIBLE(*;"PrmKeys_tag";False)
OBJECT SET VISIBLE(LT_Fltr_PrmKeys_t;False)
End if 


LT_cbRealTimeFilter:=Num(BB_GetSetting (<>LT_PrefID;"LT_Filter_RealTimeUdate"))
LT_vFilterModsMade_b:=False

ARRAY LONGINT(LT_aFilterIndex;0)

If (False)
LT_Fltr_FromDate:=!00-00-00!
LT_Fltr_FromTime:=?00:00:00?
LT_Fltr_ToDate:=!00-00-00!
LT_Fltr_ToTime:=?00:00:00?
  //LT_Fltr_UserID:=0
LT_HighlightCount:=0
End if 

If (Type(LT_aActionFilterSelect)=Is undefined)
ARRAY INTEGER(LT_aActionFilterSelect;0)  //All Types
LT_Fltr_ProcessNo:="ALL"  //All
LT_Fltr_RecNum:="ALL"  //All
End if 

If (Type(LT_aTableFilterSelect)=Is undefined)
ARRAY INTEGER(LT_aTableFilterSelect;0)  //All Tables      
End if 


Case of 
: (LT_vCallFrom="LT_TableView")
OBJECT SET VISIBLE(*;"Table_@";False)

End case 

If (<>V11LogsOpen)
LT_Fltr_ProcOrContextTag:="Context #'s"
LT_Fltr_OpNumTag:="Operation Number"
Else 
LT_Fltr_ProcOrContextTag:="Process #'s"
LT_Fltr_OpNumTag:="Log Item Number"
End if 

LT_FilterScreen_Mod 

End case 

LT_FilterDisplays 

If (LT_cbRealTimeFilter=1)
OBJECT SET VISIBLE(LT_bUpdateCount;False)
OBJECT SET VISIBLE(*;"Update_Tag";False)
Else 
OBJECT SET VISIBLE(LT_bUpdateCount;True)
OBJECT SET VISIBLE(*;"Update_Tag";True)
End if 

OBJECT SET VISIBLE(*;"Size_@";<>LogView_bShowRecSize)

LT_FilterCount:=Size of array(LT_aFilterIndex)
  //